<?php
if (!class_exists("go_sql")){
	include("/var/www/html/new/conf/le.je");
	$le=new go_sql();
	$le->connect();
}
include_once '/var/www/html/new/d/meituan/MT.class.php';
$meituan = new Meituan();
// $txt=file_get_contents('php://input');
// $meituan->logfile($txt,"price");

$txt = '{"partnerId":1108,"body":{"partnerDealId":"44489|10121|21492","partnerPoiId":"10121","startTime":"2015-11-01","endTime":"2015-11-30"}}';
$arr = json_decode($txt,true);
$GetPrice = $meituan->PFT_Get_Price($arr);

/*
$txt = '{
  "partnerId": 1055,
  "body": {
    "partnerDealId": "113|2633|5292",
    "partnerPoiId": "2633",
    "startTime": "2015-07-29",
    "endTime": "2015-08-05"
  }
}';
*/
?>